import React, { Component } from 'react'
import { connect } from 'react-redux'

@connect(
    state => state.auth || {},
)
class Error500 extends Component {
    render() {
        return <p>出错了: { this.props.errorMessage || null }</p> 
    }
}

export default Error500